package com.yunban.project.template.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunban.project.template.model.domain.TypeAttribute;
import com.yunban.project.template.model.dto.BatchSaveTypeAttributeReq;
import com.yunban.project.template.model.dto.TypeAttributeReq;
import com.yunban.project.template.model.vo.TypeAttributeResp;

import java.util.List;

/**
 * @author: lijiajun
 * @date: 2024-11-07
 * @version: 1.0
 */
public interface TypeAttributeService extends IService<TypeAttribute> {

    TypeAttribute findById(long id);

    List<TypeAttributeResp> getAllTypeAttribute();

    Boolean batchSave(BatchSaveTypeAttributeReq req);

    Boolean saveTypeAttribute(TypeAttributeReq req);

    Boolean editTypeAttribute(long id, TypeAttributeReq req);

    Boolean delTypeAttribute(long id);
}
